IK Copy Image ChannelImage Number, Channel, Source Channel
Description
This command allows you to copy one channel of an image to one or more channels of the same image. Only one channel should be specified as the source. Using
more than one channel as the source channel may lead to unexpected results. If you don't use a combination of the channel constants provided in Extra/ImageKitConstants.dba
the command can also give unexpected results.
This command does not work with render targets, but you can achieve the same effect using the effect commands of Image Kit and a pixel shader.
Parameters
Image Number
Integer
The ID of the image.
Channel
DWORD
The channel(s) where the source channel will be copied to.